package tech.aistar.entity;

import java.util.Date;

public class Concern {
    private Integer id;

    private Integer tenantId;

    private Integer houseId;

    private Date concernTime;

    public Concern() {
    }

    public Concern(Integer tenantId, Integer houseId, Date concernTime) {
        this.tenantId = tenantId;
        this.houseId = houseId;
        this.concernTime = concernTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTenantId() {
        return tenantId;
    }

    public void setTenantId(Integer tenantId) {
        this.tenantId = tenantId;
    }

    public Integer getHouseId() {
        return houseId;
    }

    public void setHouseId(Integer houseId) {
        this.houseId = houseId;
    }

    public Date getConcernTime() {
        return concernTime;
    }

    public void setConcernTime(Date concernTime) {
        this.concernTime = concernTime;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Concern{");
        sb.append("id='").append(id).append('\'');
        sb.append(", tenantId=").append(tenantId);
        sb.append(", houseId=").append(houseId);
        sb.append(", concernTime=").append(concernTime);
        sb.append('}');
        return sb.toString();
    }
}